package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * (RbacPerm)实体类
 *
 * @author makejava
 * @since 2022-05-31 11:25:03
 */
public class RbacPerm implements Serializable {
    private static final long serialVersionUID = -52876278859821969L;
    /**
     * 权限id
     */
    private Integer permId;
    /**
     * 权限名称
     */
    private String permName;

    private String permCode;
    /**
     * 权限链接
     */
    private String permLink;
    /**
     * 父id
     */
    private Integer permParentid;

    private String permType;

    private String permStatus;

    public RbacPerm() {
    }

    public RbacPerm(Integer permId, String permName, String permCode, String permLink, Integer permParentid, String permType, String permStatus) {
        this.permId = permId;
        this.permName = permName;
        this.permCode = permCode;
        this.permLink = permLink;
        this.permParentid = permParentid;
        this.permType = permType;
        this.permStatus = permStatus;
    }

    public Integer getPermId() {
        return permId;
    }

    public void setPermId(Integer permId) {
        this.permId = permId;
    }

    public String getPermName() {
        return permName;
    }

    public void setPermName(String permName) {
        this.permName = permName;
    }

    public String getPermCode() {
        return permCode;
    }

    public void setPermCode(String permCode) {
        this.permCode = permCode;
    }

    public String getPermLink() {
        return permLink;
    }

    public void setPermLink(String permLink) {
        this.permLink = permLink;
    }

    public Integer getPermParentid() {
        return permParentid;
    }

    public void setPermParentid(Integer permParentid) {
        this.permParentid = permParentid;
    }

    public String getPermType() {
        return permType;
    }

    public void setPermType(String permType) {
        this.permType = permType;
    }

    public String getPermStatus() {
        return permStatus;
    }

    public void setPermStatus(String permStatus) {
        this.permStatus = permStatus;
    }

    @Override
    public String toString() {
        return "RbacPerm{" +
                "permId=" + permId +
                ", permName='" + permName + '\'' +
                ", permCode='" + permCode + '\'' +
                ", permLink='" + permLink + '\'' +
                ", permParentid=" + permParentid +
                ", permType='" + permType + '\'' +
                ", permStatus='" + permStatus + '\'' +
                '}';
    }
}